package VUTHANHPHUC_HOMEWORK_OOP;

public class EvenOddControllers {
	private EvenOdd objC;
	private EvenOddModels objModel;

	public EvenOddControllers(EvenOdd objC) {
		this.objC = objC;
		objModel = new EvenOddModels();
	}

	public String CheckIsEvenOdd(int option) {
		if (option == 1) 
			return objModel.CheckIsEven(objC);
		return objModel.CheckIsOdd(objC);
	}
}
